import layouts from "@/layouts/index.vue";
import { scenario } from "./router";
export const student = [
  {
    path: "/stuindex",
    component: layouts,
    meta: {
      rank: 1,
      roles: ["stu"],
      title: "首页"
    },
    children: [
      {
        path: "/stuindex",
        name: "stuindex",
        component: () => import("@/view/index/index.vue"),
        meta: {
          rank: 10,
          roles: ["stu"],
          title: "首页"
        }
      },

      // 智能测评
      {
        path: "/student/Intelligent_evaluation",
        name: "Intelligent_evaluation",
        component: () => import("@/view/Intelligent_evaluation/index.vue"),
        meta: {
          title: "智能测评",
          rank: 101,
          roles: ["stu"]
        }
      },
      {
        path: "/student/data_scene",
        name: "datascenarios",
        component: () => import("@/view/data_scene/index.vue"),
        meta: {
          title: "大数据应用场景",
          rank: 10,
          roles: ["stu"]
        }
      },
      // 大数据应用场景下的页面 任务列表
      {
        path: "/student/data_scene/tasklist",
        component: () => import("@/view/data_scene/tasklist.vue"),
        meta: {
          rank: 101,
          title: "任务列表",
          roles: ["stu"]
        }
      },
      {
        path: "/student/data_scene/MapPage",
        name: "data_processing",
        component: () => import("@/view/MapLayout/index.vue"),
        meta: {
          rank: 10,
          roles: ["stu"]
        },
        children: scenario
      },
      // 监控中心
      {
        path: "/student/data_scene/monitoring_center",
        component: () => import("@/view/monitoring_center/index.vue"),
        meta: {
          rank: 101,
          title: "监控中心",
          roles: ["stu"]
        }
      }
    ]
  },
  {
    path: "/studentmark",
    name: "studentmark",
    component: () => import("@/view/mark/index.vue"),
    meta: {
      rank: 10,
      roles: ["stu"],
      title: "得分"
    }
  }
];
